package com.ourteam.workspace.dao;
/**
 * Template Name : DAO数据对象 Template Version : 1 Template Last Modfiy Date : Fri Aug 18 15:51:23 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:28 Warning ! This file will be overwrite when
 * regenerate !
 */
import org.apache.commons.lang.StringUtils;

public class WorkspaceCompiler implements java.io.Serializable {

  public WorkspaceCompiler() {
    super();
  }

  private long id;

  /** Attribute id Be Seted Falg */
  private boolean idSetted = false;

  /** Attribute id is Null Falg */
  private boolean idNull = false;

  /**
   * Get id
   *
   * @return long
   */
  public final long getId() {

    return id;
  }

  /**
   * Set id
   *
   * @param long
   */
  public final void setId(long id) {

    this.id = id;

    this.idSetted = true;

    this.setIdNull(false);
  }

  /**
   * Get id Has Been Setted
   *
   * @return boolean
   */
  public final boolean isIdSetted() {
    return this.idSetted;
  }

  /** Set id Null */
  public final void setIdNull() {

    this.idNull = true;
  }

  public final void setIdNull(boolean aNullFlag) {

    this.idNull = aNullFlag;
  }

  public final boolean isIdNull() {

    return this.idNull;
  }

  private long workspaceId;

  /** Attribute workspaceId Be Seted Falg */
  private boolean workspaceIdSetted = false;

  /** Attribute workspaceId is Null Falg */
  private boolean workspaceIdNull = false;

  /**
   * Get workspaceId
   *
   * @return long
   */
  public final long getWorkspaceId() {

    return workspaceId;
  }

  /**
   * Set workspaceId
   *
   * @param long
   */
  public final void setWorkspaceId(long workspaceId) {

    this.workspaceId = workspaceId;

    this.workspaceIdSetted = true;

    this.setWorkspaceIdNull(false);
  }

  /**
   * Get workspaceId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isWorkspaceIdSetted() {
    return this.workspaceIdSetted;
  }

  /** Set workspaceId Null */
  public final void setWorkspaceIdNull() {

    this.workspaceIdNull = true;
  }

  public final void setWorkspaceIdNull(boolean aNullFlag) {

    this.workspaceIdNull = aNullFlag;
  }

  public final boolean isWorkspaceIdNull() {

    return this.workspaceIdNull;
  }

  private String compilerName;

  /** Attribute compilerName Be Seted Falg */
  private boolean compilerNameSetted = false;

  /** Attribute compilerName is Null Falg */
  private boolean compilerNameNull = false;

  /**
   * Get compilerName
   *
   * @return String
   */
  public final String getCompilerName() {

    if (isCompilerNameNull()) {
      return null;
    } else {
      return StringUtils.trim(compilerName);
    }
  }

  /**
   * Set compilerName
   *
   * @param String
   */
  public final void setCompilerName(String compilerName) {

    this.compilerName = StringUtils.trim(compilerName);

    this.compilerNameSetted = true;

    this.setCompilerNameNull(this.compilerName == null);
  }

  /**
   * Get compilerName Has Been Setted
   *
   * @return boolean
   */
  public final boolean isCompilerNameSetted() {
    return this.compilerNameSetted;
  }

  /** Set compilerName Null */
  public final void setCompilerNameNull() {

    this.compilerNameNull = true;
  }

  public final void setCompilerNameNull(boolean aNullFlag) {

    this.compilerNameNull = aNullFlag;
  }

  public final boolean isCompilerNameNull() {

    return this.compilerNameNull;
  }

  private String compilerType;

  /** Attribute compilerType Be Seted Falg */
  private boolean compilerTypeSetted = false;

  /** Attribute compilerType is Null Falg */
  private boolean compilerTypeNull = false;

  /**
   * Get compilerType
   *
   * @return String
   */
  public final String getCompilerType() {

    if (isCompilerTypeNull()) {
      return null;
    } else {
      return StringUtils.trim(compilerType);
    }
  }

  /**
   * Set compilerType
   *
   * @param String
   */
  public final void setCompilerType(String compilerType) {

    this.compilerType = StringUtils.trim(compilerType);

    this.compilerTypeSetted = true;

    this.setCompilerTypeNull(this.compilerType == null);
  }

  /**
   * Get compilerType Has Been Setted
   *
   * @return boolean
   */
  public final boolean isCompilerTypeSetted() {
    return this.compilerTypeSetted;
  }

  /** Set compilerType Null */
  public final void setCompilerTypeNull() {

    this.compilerTypeNull = true;
  }

  public final void setCompilerTypeNull(boolean aNullFlag) {

    this.compilerTypeNull = aNullFlag;
  }

  public final boolean isCompilerTypeNull() {

    return this.compilerTypeNull;
  }

  private String compilerLogo;

  /** Attribute compilerLogo Be Seted Falg */
  private boolean compilerLogoSetted = false;

  /** Attribute compilerLogo is Null Falg */
  private boolean compilerLogoNull = false;

  /**
   * Get compilerLogo
   *
   * @return String
   */
  public final String getCompilerLogo() {

    if (isCompilerLogoNull()) {
      return null;
    } else {
      return StringUtils.trim(compilerLogo);
    }
  }

  /**
   * Set compilerLogo
   *
   * @param String
   */
  public final void setCompilerLogo(String compilerLogo) {

    this.compilerLogo = StringUtils.trim(compilerLogo);

    this.compilerLogoSetted = true;

    this.setCompilerLogoNull(this.compilerLogo == null);
  }

  /**
   * Get compilerLogo Has Been Setted
   *
   * @return boolean
   */
  public final boolean isCompilerLogoSetted() {
    return this.compilerLogoSetted;
  }

  /** Set compilerLogo Null */
  public final void setCompilerLogoNull() {

    this.compilerLogoNull = true;
  }

  public final void setCompilerLogoNull(boolean aNullFlag) {

    this.compilerLogoNull = aNullFlag;
  }

  public final boolean isCompilerLogoNull() {

    return this.compilerLogoNull;
  }

  private String compileCmd;

  /** Attribute compileCmd Be Seted Falg */
  private boolean compileCmdSetted = false;

  /** Attribute compileCmd is Null Falg */
  private boolean compileCmdNull = false;

  /**
   * Get compileCmd
   *
   * @return String
   */
  public final String getCompileCmd() {

    if (isCompileCmdNull()) {
      return null;
    } else {
      return StringUtils.trim(compileCmd);
    }
  }

  /**
   * Set compileCmd
   *
   * @param String
   */
  public final void setCompileCmd(String compileCmd) {

    this.compileCmd = StringUtils.trim(compileCmd);

    this.compileCmdSetted = true;

    this.setCompileCmdNull(this.compileCmd == null);
  }

  /**
   * Get compileCmd Has Been Setted
   *
   * @return boolean
   */
  public final boolean isCompileCmdSetted() {
    return this.compileCmdSetted;
  }

  /** Set compileCmd Null */
  public final void setCompileCmdNull() {

    this.compileCmdNull = true;
  }

  public final void setCompileCmdNull(boolean aNullFlag) {

    this.compileCmdNull = aNullFlag;
  }

  public final boolean isCompileCmdNull() {

    return this.compileCmdNull;
  }

  private String runCmd;

  /** Attribute runCmd Be Seted Falg */
  private boolean runCmdSetted = false;

  /** Attribute runCmd is Null Falg */
  private boolean runCmdNull = false;

  /**
   * Get runCmd
   *
   * @return String
   */
  public final String getRunCmd() {

    if (isRunCmdNull()) {
      return null;
    } else {
      return StringUtils.trim(runCmd);
    }
  }

  /**
   * Set runCmd
   *
   * @param String
   */
  public final void setRunCmd(String runCmd) {

    this.runCmd = StringUtils.trim(runCmd);

    this.runCmdSetted = true;

    this.setRunCmdNull(this.runCmd == null);
  }

  /**
   * Get runCmd Has Been Setted
   *
   * @return boolean
   */
  public final boolean isRunCmdSetted() {
    return this.runCmdSetted;
  }

  /** Set runCmd Null */
  public final void setRunCmdNull() {

    this.runCmdNull = true;
  }

  public final void setRunCmdNull(boolean aNullFlag) {

    this.runCmdNull = aNullFlag;
  }

  public final boolean isRunCmdNull() {

    return this.runCmdNull;
  }

  private String debugCmd;

  /** Attribute debugCmd Be Seted Falg */
  private boolean debugCmdSetted = false;

  /** Attribute debugCmd is Null Falg */
  private boolean debugCmdNull = false;

  /**
   * Get debugCmd
   *
   * @return String
   */
  public final String getDebugCmd() {

    if (isDebugCmdNull()) {
      return null;
    } else {
      return StringUtils.trim(debugCmd);
    }
  }

  /**
   * Set debugCmd
   *
   * @param String
   */
  public final void setDebugCmd(String debugCmd) {

    this.debugCmd = StringUtils.trim(debugCmd);

    this.debugCmdSetted = true;

    this.setDebugCmdNull(this.debugCmd == null);
  }

  /**
   * Get debugCmd Has Been Setted
   *
   * @return boolean
   */
  public final boolean isDebugCmdSetted() {
    return this.debugCmdSetted;
  }

  /** Set debugCmd Null */
  public final void setDebugCmdNull() {

    this.debugCmdNull = true;
  }

  public final void setDebugCmdNull(boolean aNullFlag) {

    this.debugCmdNull = aNullFlag;
  }

  public final boolean isDebugCmdNull() {

    return this.debugCmdNull;
  }

  private String compilerLocation;

  /** Attribute compilerLocation Be Seted Falg */
  private boolean compilerLocationSetted = false;

  /** Attribute compilerLocation is Null Falg */
  private boolean compilerLocationNull = false;

  /**
   * Get compilerLocation
   *
   * @return String
   */
  public final String getCompilerLocation() {

    if (isCompilerLocationNull()) {
      return null;
    } else {
      return StringUtils.trim(compilerLocation);
    }
  }

  /**
   * Set compilerLocation
   *
   * @param String
   */
  public final void setCompilerLocation(String compilerLocation) {

    this.compilerLocation = StringUtils.trim(compilerLocation);

    this.compilerLocationSetted = true;

    this.setCompilerLocationNull(this.compilerLocation == null);
  }

  /**
   * Get compilerLocation Has Been Setted
   *
   * @return boolean
   */
  public final boolean isCompilerLocationSetted() {
    return this.compilerLocationSetted;
  }

  /** Set compilerLocation Null */
  public final void setCompilerLocationNull() {

    this.compilerLocationNull = true;
  }

  public final void setCompilerLocationNull(boolean aNullFlag) {

    this.compilerLocationNull = aNullFlag;
  }

  public final boolean isCompilerLocationNull() {

    return this.compilerLocationNull;
  }

  private String status;

  /** Attribute status Be Seted Falg */
  private boolean statusSetted = false;

  /** Attribute status is Null Falg */
  private boolean statusNull = false;

  /**
   * Get status
   *
   * @return String
   */
  public final String getStatus() {

    if (isStatusNull()) {
      return null;
    } else {
      return StringUtils.trim(status);
    }
  }

  /**
   * Set status
   *
   * @param String
   */
  public final void setStatus(String status) {

    this.status = StringUtils.trim(status);

    this.statusSetted = true;

    this.setStatusNull(this.status == null);
  }

  /**
   * Get status Has Been Setted
   *
   * @return boolean
   */
  public final boolean isStatusSetted() {
    return this.statusSetted;
  }

  /** Set status Null */
  public final void setStatusNull() {

    this.statusNull = true;
  }

  public final void setStatusNull(boolean aNullFlag) {

    this.statusNull = aNullFlag;
  }

  public final boolean isStatusNull() {

    return this.statusNull;
  }

  private String remarks;

  /** Attribute remarks Be Seted Falg */
  private boolean remarksSetted = false;

  /** Attribute remarks is Null Falg */
  private boolean remarksNull = false;

  /**
   * Get remarks
   *
   * @return String
   */
  public final String getRemarks() {

    if (isRemarksNull()) {
      return null;
    } else {
      return StringUtils.trim(remarks);
    }
  }

  /**
   * Set remarks
   *
   * @param String
   */
  public final void setRemarks(String remarks) {

    this.remarks = StringUtils.trim(remarks);

    this.remarksSetted = true;

    this.setRemarksNull(this.remarks == null);
  }

  /**
   * Get remarks Has Been Setted
   *
   * @return boolean
   */
  public final boolean isRemarksSetted() {
    return this.remarksSetted;
  }

  /** Set remarks Null */
  public final void setRemarksNull() {

    this.remarksNull = true;
  }

  public final void setRemarksNull(boolean aNullFlag) {

    this.remarksNull = aNullFlag;
  }

  public final boolean isRemarksNull() {

    return this.remarksNull;
  }

  private String defaultCompiler;

  /** Attribute defaultCompiler Be Seted Falg */
  private boolean defaultCompilerSetted = false;

  /** Attribute defaultCompiler is Null Falg */
  private boolean defaultCompilerNull = false;

  /**
   * Get defaultCompiler
   *
   * @return String
   */
  public final String getDefaultCompiler() {

    if (isDefaultCompilerNull()) {
      return null;
    } else {
      return StringUtils.trim(defaultCompiler);
    }
  }

  /**
   * Set defaultCompiler
   *
   * @param String
   */
  public final void setDefaultCompiler(String defaultCompiler) {

    this.defaultCompiler = StringUtils.trim(defaultCompiler);

    this.defaultCompilerSetted = true;

    this.setDefaultCompilerNull(this.defaultCompiler == null);
  }

  /**
   * Get defaultCompiler Has Been Setted
   *
   * @return boolean
   */
  public final boolean isDefaultCompilerSetted() {
    return this.defaultCompilerSetted;
  }

  /** Set defaultCompiler Null */
  public final void setDefaultCompilerNull() {

    this.defaultCompilerNull = true;
  }

  public final void setDefaultCompilerNull(boolean aNullFlag) {

    this.defaultCompilerNull = aNullFlag;
  }

  public final boolean isDefaultCompilerNull() {

    return this.defaultCompilerNull;
  }

  public int hashCode() {
    final int prime = 31;
    int result = 1;

    result = prime * result + (int) (getId() ^ (getId() >>> 32));

    return result;
  }

  public boolean equals(Object obj) {

    if (obj == null) {
      return false;
    }
    if ((obj instanceof WorkspaceCompiler) == false) {
      return false;
    }
    WorkspaceCompiler other = (WorkspaceCompiler) obj;

    if (getId() != other.getId()) {
      return false;
    }

    return true;
  }

  public String toString() {

    StringBuffer buffer = new StringBuffer();

    buffer.append("[");

    buffer.append("defaultCompiler=");
    buffer.append(this.defaultCompiler);

    buffer.append("id=");
    buffer.append(this.id);

    buffer.append("workspaceId=");
    buffer.append(this.workspaceId);

    buffer.append("compilerName=");
    buffer.append(this.compilerName);

    buffer.append("compilerType=");
    buffer.append(this.compilerType);

    buffer.append("compilerLogo=");
    buffer.append(this.compilerLogo);

    buffer.append("compileCmd=");
    buffer.append(this.compileCmd);

    buffer.append("runCmd=");
    buffer.append(this.runCmd);

    buffer.append("debugCmd=");
    buffer.append(this.debugCmd);

    buffer.append("compilerLocation=");
    buffer.append(this.compilerLocation);

    buffer.append("status=");
    buffer.append(this.status);

    buffer.append("remarks=");
    buffer.append(this.remarks);

    buffer.append("]");

    return buffer.toString();
  }
}
